package parser;
import antlr.RecognitionException;
import antlr.Token;

class AsgnStmt extends Stmt {
    
    Expr left;
    Expr right;
    
    AsgnStmt(Expr left, Expr right) throws RecognitionException {
        this.left = left;
        this.right = right;
    }
     
    void write(ByteStream out) throws RecognitionException {
        out.line(line);
        right.write(out);
        left.writeLHS(out);
    }
    
}
